package com.free.ext.quartz.executor;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

/**
 * <p>
 * 功能概述: 
 * </p>
 * <p>
 * 功能详述: 
 * </p>
 */

abstract class Executor
{
    static final DateTimeFormatter dtf = DateTimeFormatter.ofPattern("yyyy-MM-dd hh:mm:ss");
    
    public String current()
    {
        return LocalDateTime.now().format(dtf);
    }
    
    public LocalDate currentDate()
    {
        return LocalDate.now();
    }
    
    
}

